*{
    padding: 0;
    margin: 0;
}
body{
    background-color: white;
    height: 800px;
}
li{
    list-style: none;
}
a{
    text-decoration: none;
}
.clearfix::before,.clearfix::after {
    content: "";
    display: table;
}

.clearfix::after {
    clear: both;
}

.clearfix {
    *zoom:1;
}
/* 以上是清除浮动的代码 */
.w{
    width: 1200px;
    margin: 0 auto;
}
.header{
    height: 60px;
    margin:30px auto;
    background-color: white;
}
.logo{
    float: left;
    width: 200px;
    height: 60px;
}
.logo img{
    width: 100%;
}
.nav{
    float: left;
    margin-left: 10px;
}
.nav ul li{
    float: left;
    margin:0 10px;
}
.nav ul li a {
    float: left;
    display: block;
    height: 60px;
    padding: 0 10px;
    margin-top: 10px;
    line-height: 60px;
    font-size: 20px;
    color: #050505;
}
.nav ul li a:hover{
    border-bottom: 2px solid red;
    color: red;
}
.search{
    float: left;
    width: 400px;
    height: 42px;
    background-color:white;
    margin-left: 5px;
}
.search input {
    float: left;
    width: 320px;
    height: 40px;
    padding-left: 14px;
    margin-top: 16px;
    border: 1px solid red;
    color:black;
    font-size: 14px;
    border-radius: 19px;
}
.search button {
    float: left;
    width: 40px;
    height: 42px;
    margin-left: 5px;
    margin-top: 16px;
    background-color: white;
    border:2px;
}
.search button img{
    width: 100%;
}
.user{
    float: right;
    margin-top: 21px;
    margin-right: 16px;
}
.user p{
    float: right;
    font-size: auto;
    margin-top: 5px;
}
.banner{
    height: 421px;
    background-color: sandybrown;
    background:url(images/璃南.png) no-repeat top center;
}
.banner .w{
    height: 421px;
    
}
.banner .w .images{
    width: 100%;
}
.subnav{
    float: left;
    height: 400px;
    width: 210px;
    margin-top: 10px;
    background-color:rgba(0,0,0,0.2);
    border-radius: 15px;
}

.subnav ul li{
    height: 45px;
    line-height: 45px;
    padding: 3px 20px;
}
.subnav ul li a{
    color:#fff0f5;
    font-size: 20px;
}
.subnav ul li a:hover{
    color: red;
}
.subnav ul li a span{
    float: right;
}
.history{
    float: right;
    height: 400px;
    width: 250px;
    margin-top: 10px;
    border-radius: 15px;
    background-color:rgba(0,0,0,0.15);
}
.history h3{
    height: 30px;
    line-height: 25px;
    text-align: center;
    margin:15px auto;
    border-bottom: 1px solid red;
    font-size: 18px;
    color: red;
   
}
.history .bd{
    padding:0 20px;
}
.bd ul li{
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}
.bd ul li span{
    font-size: 18px;
    color: #ff8888;
}
.bd ul li a{
    color:white;
}
.bd ul li a:hover{
    text-decoration: underline;
}
.bd ul li p{
    color:#dddd
}
.bd .more{
    display: block;
    height: 30px;
    line-height: 30px;
    margin-top: 5px;
    text-align:center;
    color: red;
    border: 1px solid #ffcccc;
    border-radius: 15px;
    font-size: 15px;
}
.institution{
    height: 60px;
    margin-top: 10px;
    background-color: #ffcccc;
    line-height: 30px;
    box-shadow: 0 0 5px #ffcccc;
    border-radius: 14px;
}
.institution h3{
    float:left;
    color: red;
    font-size: 25px;
    border-bottom: 3px  dashed red;
}
.institution a{
    float: left;
    margin-left: 28px;
    font-size: 22px;
    color: #5599ff;
}
.institution ul li a{
    float: left;
    margin-left: 25px;
    font-size: 22px;
    color: #050505;
}
.institution ul li a:hover{
    text-decoration:underline red;
    box-shadow: 0 0 5px #ccc;
}
.news{
    margin-top: 20px;
    background-color: greenyellow;
    border-radius: 15px;
}
.news-hd{
    height: 45px;
}
.news-hd h3{
    float: left;
    font-size: 25px;
    border-bottom: 3px dashed #ff8888;
    color: #ff8888;
}
.news-hd a{
    float: right;
    font-size: 15px;
    margin-top: 5px;
    margin-right: 10px;
    color: #ff8888;
}
.news-bd ul{
    float: left;
    width: 1225px;
}
.news-bd ul li{
    float: left;
    width: 230px;
    height: 270px;
    background-color:rgba(0,0,0,0.2);
    margin-top: 15px;
    margin-left: 10px;
    border-bottom: 15px;
    border-radius: 15px;
}
.news-bd ul li img{
    width:100%;
    border-radius: 15px;
}
.news-bd ul li h4{
    margin:10px 10px 10px 10px;
    font-size: 20px;
    font-weight: 400;
}
.news-bd .info{
    margin:0 20px 0 25px;
    font-size: 15px;
    color:black;
}
.news-bd .info span{
    color: #ff0000;
}
.ad{
    height: 400px;
    margin-top: 20px;
    background-color:#ff8800;
    border-radius: 15px;
}
.ad-hd h3 {
    float: left;
    font-size: 25px;
    border-bottom: 3px dotted #99ff33;
    color:#99ff33;
}
.ad-hd a {
    float: right;
    font-size: 15px;
    margin-top: 5px;
    margin-right: 10px;
    color: #99ff33;
}
.ad-bd{
    height:380px;
    margin-top: 20px;
    background-color: rgba(red, green, blue, alpha);
}
.ad-bd img {
    width: 100%;
    height: 100%;
    margin-top: 10px;
    border-radius: 15px;
}
.footer {
    height: 415px;
    background-color: #fff;
}

.footer .w {
    padding-top: 35px;
}

.copyright {
    float: left;
}
.copyright img{
    width: 100px;
}
.copyright p {
    font-size: 12px;
    color: #666;
    margin: 20px 0 15px 0;
}

.copyright .app {
    display: block;
    width: 118px;
    height: 33px;
    border: 1px solid #00a4ff;
    text-align: center;
    line-height: 33px;
    /* 以上两行代码是让盒子里面的字体居中 */
    font-size: 16px;
    color: #00a4ff;
}

.links {
    margin-top: 12px;
    float: right;
}

.links dl {
    float: left;
    margin-right: 100px;
}

.links dl dt {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.links dl dd a {
    font-size: 12px;
    color: #333;
}